package clothes.tools.dao;

import clothes.tools.pojo.Purchase;

import java.util.List;

public interface PurchaseDao {

    public int addPurchase(Purchase purchase);

    public int deletePurchaseById(Integer id);

    public int updatePurchase(Purchase purchase);

    public Purchase queryPurchaseById(Integer id);

    public List<Purchase> queryPurchase();

    public List<Purchase> queryPurchase(String page, String limit);

}
